package jzst.com.myh;

import java.net.*;

public class TestNewmsg{
  public TestNewmsg() {
  }
  public static void main(String[] args) throws Exception  {
  	
 //String url="http://localhost/webmailgov/ext_jzst_zzb_wapmaillist.jsp?username=33333&hostname=scom.com&fid=new";

  	 String  url="http://127.0.0.1/webmailgov/ext_register1.jsp?username=kkk";
  	//String url="http://127.0.0.1/system/myh_delete.jsp?username=xiangxin&domain=scom.com";
  	//String url="http://127.0.0.1/system/myh_change.jsp?domain=scom.com&username=kkk&domain=scom.com&state=1";
  	//String url="http://127.0.0.1/webmailgov/ext_jzst_myh_getpassword.jsp?login=kkk";
  	HttpURLConnection huc= com.zsoft.webmail.http.HttpUtils.getConnection(url,null);
    com.zsoft.webmail.http.HttpUtils.sendRequest(huc,null);
    String src=com.zsoft.webmail.http.HttpUtils.getResponse(huc);
    System.out.print("src="+src);
  }

}
